package com.zzyl.mapper;

import com.github.pagehelper.Page;
import com.zzyl.dto.NursingPlanDto;
import com.zzyl.entity.NursingPlan;
import com.zzyl.vo.NursingPlanVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface NursingPlanMapper {

    void insert(NursingPlan nursingPlan);

    List<NursingPlanVo> selectAll();

    Page<NursingPlan> selectByPage(String name, Integer status);

    NursingPlanVo selectById(Integer id);

    void delete(Integer id);

    void update(NursingPlanDto nursingPlanDto);

}
